package com.my.internetplus.dao;



import com.my.internetplus.model.Order;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderDao {

    List<Order> getordersList(int userid);
    String selectgoodsid(long orderid);
    Order selectorderbyid(long orderid);
    void setCnform(long orderid);
    void delectOrder(long orderid);
    void insertorder(@Param("orderid") String orderid,@Param("price")String price,@Param("userid") int userid);
    void insertorderdetail(@Param("orderid")String orderid,@Param("goodsid")String goodsid,@Param("addid")int addid);
}
